<%@page contentType="text/html; charset=utf-8" language="java" errorPage="error.jsp"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
String subtitle = "用户登入";
String scripts = "/static/js/front.js?v=0.1,/static/js/Validform_min.js";
String styles = "/static/css/front.css?v=0.1,/static/css/validation.css?v=0.1";
String pageName = "login";
%>
<%@ include file="include/header.jspf"%>
 <div id="bodier">
	<div id="left-menu">
		<div class="title">
			<div><b>登入页面</b></div>
		</div>
		<div class="stu-login">用户登入</div>
	</div>
	<div id="right-content">
		<div class="wrap">
			<div class="title">登入</div>
			<div class="content">
				<div class="left">
					<img src="/static/images/login-logo.png"/>
				</div>
				<form id="loginForm" class="right" action="#" method="post">
					<div>
						<label>登入号：</label> 
						<input class="name" type="text" name="name" datatype="*" nullmsg="请输入登入号"/>
					</div>
					<c:choose>
					   <c:when test="${null!=errors.name}">    
						   <div class="Validform_checktip Validform_wrong">
								<c:forEach items="${errors.name}" var="err">
									${err}
								</c:forEach>
							</div>
					   </c:when>
					   <c:otherwise>  
						<div class="Validform_checktip"></div>
					   </c:otherwise>
					</c:choose>

					<div>
						<label>密  码：</label>
						<input class="password" type="password" name="password" datatype="*" nullmsg="请输入密码" errormsg="密码最多20个字符"/>
					</div>
					<c:choose>
					   <c:when test="${null!=errors.password}">    
						   <div class="Validform_checktip Validform_wrong">
								<c:forEach items="${errors.password}" var="err">
									${err}
								</c:forEach>
							</div>
					   </c:when>
					   <c:otherwise>  
						<div class="Validform_checktip"></div>
					   </c:otherwise>
					</c:choose>

					<div class="formbuttons">
						<input class="submit" type="submit" value="提交" id="btn_sub"/>
						<input class="reset" type="reset" value="重置"/>
					</div>
				</form>
				<div class="cleft"></div>
			</div>
			<div class="foot"></div>
		</div>
	</div>
	<div class="clear"></div>
 </div>